package cn.tedu.epidemic.webapi.mapper;

import cn.tedu.community.commons.pojo.returnHome.entity.ReturnHome;
import cn.tedu.community.commons.pojo.returnHome.vo.ReturnHomeVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReturnHomeMapper {
    int insert(ReturnHome returnHome);

    int deleteById(Long id);

    int updateById(ReturnHome returnHome);

    String returnHomeTime(Long userId);

    ReturnHomeVO returnStandard(Long id);

    List<ReturnHomeVO> returnListByUserId(Long userId);

    List<ReturnHomeVO> ListAudited();

    List<ReturnHomeVO> ListUnaudited();
}
